Skip to content

Feature: Appearance window transparency - #3760

Open
BornToBeRoot wants to merge 4 commits into
mainfrom
feature/appearance-transparency
Open

BornToBeRoot wants to merge 4 commits into
mainfrom
feature/appearance-transparency

Conversation

@BornToBeRoot

Copy link
Copy Markdown
Owner

Description

See commits

Related issue

Closes #

Type of change

  • ✨ New feature / improvement

agent and others added 2 commits November 29, 2026 22:22
New settings Appearance_UseTransparency (default off) and
Appearance_Transparency (1 - 30 %, default 10 %) in Settings > Appearance:
toggle with help icon and a slider in 1 % steps, applied live.

The main window, the windows of dragged-out tabs, the status window and
the notifications get a uniform alpha via SetLayeredWindowAttributes
(WindowTransparencyHelper) instead of AllowsTransparency, so the embedded
windows (Remote Desktop, PuTTY, PowerShell, TigerVNC, WebView2) stay
visible. WPF (HwndTarget) removes WS_EX_LAYERED in WM_STYLECHANGING from
windows without AllowsTransparency; a window hook (called before the one
of WPF) keeps it while the window should be transparent. Popups (context
menus, drop-downs, tooltips) stay opaque. Opaque in screenshot mode.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copilot AI balanced review requested due to automatic review settings November 29, 2026 21:24

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@github-actions github-actions Bot added this to the next-release milestone Nov 29, 2026
@mergify

mergify Bot commented Nov 29, 2026

Copy link
Copy Markdown
Contributor

Tick the box to add this pull request to the merge queue (same as @mergifyio queue). If it does not match the queue conditions yet, it enters the queue once it does.

  • Queue this pull request once it meets the queue conditions

agent and others added 2 commits November 29, 2026 22:27
- Hook: convert wParam unchecked (ToInt32() throws on 64-bit if the value
  doesn't fit)
- Help text: removed the note about the embedded tools
- Docs: fields named like in the settings (Enable transparency,
  Transparency); changelog links #3760
- AGENTS.md: native windows can't be in per-pixel transparent windows,
  the whole window can be transparent (WindowTransparencyHelper)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…abled

WindowTransparencyHelper.Apply(window, 0) returns at once if the window
was never transparent (no hook, no style, no attached value). Disabling
it at runtime removes the hook and the layered style again, so the window
is the same as before. The hook is only added while the window is
transparent.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants